package com.qiangshi.tasksProgress.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qiangshi.common.annotation.Excel;
import com.qiangshi.common.core.domain.BaseEntity;

/**
 * 进度提报对象 qs_tasks_progress
 *
 * @author qiangshi
 * @date 2022-02-12
 */
public class QsTasksProgress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 认领记录Id */
    @Excel(name = "认领记录Id")
    private Long tasksClaimId;

    /** 任务Id */
    @Excel(name = "任务Id")
    private Long tasksId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String tasksName;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private String tasksNum;

    /** 认领者ID */
    @Excel(name = "认领者ID")
    private Long claimerId;
    /** 认领者名称 */
    @Excel(name = "认领者名称")
    private String claimerName;

    /** 进度描述 */
    @Excel(name = "进度描述")
    private String progressDetal;

    /** 进度占比 */
    @Excel(name = "进度占比")
    private Integer progressNum;

    public QsTasksProgress() {
    }

    public QsTasksProgress(Long tasksClaimId, Long tasksId, String tasksName, String tasksNum, Long claimerId, String claimerName, String progressDetal, Integer progressNum) {
        this.tasksClaimId = tasksClaimId;
        this.tasksId = tasksId;
        this.tasksName = tasksName;
        this.tasksNum = tasksNum;
        this.claimerId = claimerId;
        this.claimerName = claimerName;
        this.progressDetal = progressDetal;
        this.progressNum = progressNum;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTasksClaimId(Long tasksClaimId)
    {
        this.tasksClaimId = tasksClaimId;
    }

    public Long getTasksClaimId()
    {
        return tasksClaimId;
    }
    public void setTasksId(Long tasksId)
    {
        this.tasksId = tasksId;
    }

    public Long getTasksId()
    {
        return tasksId;
    }
    public void setTasksName(String tasksName)
    {
        this.tasksName = tasksName;
    }

    public String getTasksName()
    {
        return tasksName;
    }
    public void setTasksNum(String tasksNum)
    {
        this.tasksNum = tasksNum;
    }

    public String getTasksNum()
    {
        return tasksNum;
    }
    public void setClaimerId(Long claimerId)
    {
        this.claimerId = claimerId;
    }

    public Long getClaimerId()
    {
        return claimerId;
    }
    public void setProgressDetal(String progressDetal)
    {
        this.progressDetal = progressDetal;
    }

    public String getProgressDetal()
    {
        return progressDetal;
    }
    public void setProgressNum(Integer progressNum)
    {
        this.progressNum = progressNum;
    }

    public Integer getProgressNum()
    {
        return progressNum;
    }

    public String getClaimerName() {
        return claimerName;
    }

    public void setClaimerName(String claimerName) {
        this.claimerName = claimerName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tasksClaimId", getTasksClaimId())
            .append("tasksId", getTasksId())
            .append("tasksName", getTasksName())
            .append("tasksNum", getTasksNum())
            .append("claimerId", getClaimerId())
            .append("createTime", getCreateTime())
            .append("progressDetal", getProgressDetal())
            .append("progressNum", getProgressNum())
            .toString();
    }
}
